package hotel.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import hotel.dao.GuestConditionDao;
import hotel.pojo.GuestDto;
import hotel.service.GuestConditionService;
@Service
public class GuestConditionServiceImpl implements GuestConditionService{
	@Resource
	GuestConditionDao guestConditionDao;

	public boolean checkInService(String rome, String name, String sex, String age, String tel, String id, String time,
			String mony) {
		boolean judge = guestConditionDao.checkIn(rome, name, sex, age, tel, id, time, mony);
		return judge;
	}

	public List<GuestDto> GuestMessageService(String message, String status) {
		return guestConditionDao.guestMessage(message, status);
	}

}
